-- card: 9284 from stack: in -- bmap block id: 9765 -- flags: 4000 -- background id: 4754 -- name: CSL Scheduler ----- HyperTalk script ----- on rollingDemo answer "Scheduler demo will take approx. 5 min." with "Cancel" or "OK" if it is "Cancel" then exit rollingDemo set the cursor to none lock screen go to card "Rolling Demo Instructions" of this background unlock screen with dissolve fast repeat until the mouseClick end repeat set the cursor to hand autoMouse moveMouse,420,60 click at the loc of bg button id 7 showInfo "Introduction",false showInfo "Course Requests",false wait 1 second set the cursor to hand autoMouse moveMouse,476,83 send "mouseUp down" to bg button id 9 wait 1 second autoMouse menuMouse,6,4 -- Assign Required… wait 30 autoMouse moveMouse,184,164 click at the loc of card button "OK" wait 1 second autoMouse moveMouse,236,84 click at the loc of bg button id 1 showInfo "Required Course Requests",true wait 1 second set the cursor to hand autoMouse menuMouse,3,18 -- Student Requests… wait 30 autoMouse moveMouse,149,175 click at the loc of card button id 9 wait 30 autoMouse moveMouse,37,310 click at the loc of card button id 17 click at the loc of card button id 17 showInfo "Alternate Courses",true wait 1 second set the cursor to hand autoMouse moveMouse,499,290 click at the loc of card button id 21 wait 30 autoMouse moveMouse,333,176 click at the loc of card button id 27 wait 30 autoMouse moveMouse,37,262 click at the loc of card button id 14 click at the loc of card button id 14 wait 30 autoMouse moveMouse,251,175 click at the loc of card button id 21 wait 30 autoMouse moveMouse,333,116 click at the loc of card button id 22 wait 30 autoMouse moveMouse,37,309 click at the loc of card button id 18 click at the loc of card button id 18 wait 2 seconds autoMouse moveMouse,16,220 click at the loc of card button "Close" wait 30 autoMouse moveMouse,84,61 click at the loc of card button "Close" showInfo "Main Window",false showInfo "Set Sections",false wait 1 second set the cursor to hand autoMouse menuMouse,6,8 -- Set Sections… wait 30 autoMouse moveMouse,184,163 click at the loc of card button "OK" showInfo "Manual Override",true wait 1 second set the cursor to hand autoMouse moveMouse,52,136 click at the loc of card button id 3 wait 30 autoMouse menuMouse,3,13 -- Add Class wait 30 autoMouse moveMouse,302,267 click at the loc of card button id 5 wait 30 autoMouse moveMouse,320,267 click at the loc of card button id 6 wait 2 seconds autoMouse moveMouse,15,33 click at the loc of card button "Close" showInfo "Reserve Room",false wait 1 second set the cursor to hand autoMouse menuMouse,4,1 -- School Timetable if the result is "Item not found" then -- test for XCMD bug send "doMenu School Timetable" to background "CSL Scheduler" end if wait 30 autoMouse moveMouse,253,151 click at the loc of card button id 8 wait 1 second autoMouse menuMouse,3,8 -- Reserve showInfo "Reserve Teacher",true wait 1 second set the cursor to hand autoMouse menuMouse,4,3 -- By Teacher wait 30 autoMouse moveMouse,208,265 click at the loc of card button id 3 wait 30 autoMouse moveMouse,252,196 click at the loc of card button id 9 wait 1 second autoMouse menuMouse,3,8 -- Reserve showInfo "Manual Schedule",true wait 1 second set the cursor to hand autoMouse moveMouse,35,38 click at the loc of card button "Close" wait 1 second autoMouse menuMouse,3,17 -- School (weekly) wait 30 autoMouse moveMouse,87,91 click at the loc of card button id 5 wait 30 autoMouse moveMouse,258,91 click at the loc of card button id 11 wait 30 autoMouse moveMouse,408,127 click at the loc of card button id 20 wait 1 second autoMouse moveMouse,75,197 click at 75,197 click at 75,197 wait 30 autoMouse moveMouse,161,197 click at 161,197 click at 161,197 wait 30 autoMouse moveMouse,248,197 click at 248,197 click at 248,197 wait 30 autoMouse moveMouse,333,281 click at 333,281 click at 333,281 wait 30 autoMouse moveMouse,419,197 click at 419,197 click at 419,197 wait 1 second autoMouse menuMouse,3,9 -- Lock showInfo "Lock Class",true wait 1 second set the cursor to hand autoMouse moveMouse,19,40 click at the loc of card button "Close" showInfo "Timetable Options",false wait 1 second set the cursor to hand autoMouse menuMouse,5,1 -- Timetable Options… if the result is "Item not found" then -- test for XCMD bug send "doMenu Timetable Options…" to background "CSL Scheduler" end if wait 1 second tabKey type "10" wait 30 tabKey type "20" select empty wait 4 seconds autoMouse moveMouse,210,316 click at the loc of card button "OK" showInfo "Load Teachers",false wait 1 second set the cursor to hand autoMouse menuMouse,6,9 -- Load Teachers… wait 30 autoMouse moveMouse,210,161 click at the loc of card button "Load" showInfo "Course Preference",true wait 1 second set the cursor to hand autoMouse moveMouse,17,41 click at the loc of card button "Close" wait 1 second autoMouse menuMouse,6,10 -- Create Timetable… showInfo "Create Timetable",true wait 1 second set the cursor to hand autoMouse moveMouse,136,228 click at the loc of card button "Start" showInfo "Master Timetable",true showInfo "Multiple Runs",true wait 1 second set the cursor to hand autoMouse moveMouse,215,228 click at the loc of card button "Done" wait 30 autoMouse moveMouse,283,60 click at the loc of card button "Close" wait 30 autoMouse moveMouse,77,90 click at the loc of card button "Close" showInfo "Edit Timetable",false wait 1 second set the cursor to hand autoMouse menuMouse,3,17 -- School (weekly)… showInfo "Edit Weekly",true wait 1 second set the cursor to hand autoMouse moveMouse,180,110 click at the loc of card button "Scroll" wait 30 autoMouse moveMouse,247,245 click at 247,245 wait 1 second autoMouse menuMouse,3,6 -- Clear autoMouse moveMouse,247,208 click at 247,208 click at 247,208 showInfo "Legend",true wait 1 second set the cursor to hand autoMouse moveMouse,10,327 click at the loc of card button "Legend" wait 2 seconds autoMouse moveMouse,18,40 click at the loc of card button "Close" showInfo "Assign Students",false wait 1 second set the cursor to hand autoMouse menuMouse,6,11 -- Assign Students wait 30 autoMouse moveMouse,213,173 click at the loc of card button "OK" showInfo "Performance Report",false wait 1 second set the cursor to hand autoMouse menuMouse,7,1 -- Performance Report if the result is "Item not found" then -- test for XCMD bug send "doMenu Performance" to background "CSL Scheduler" end if wait 3 seconds autoMouse moveMouse,15,40 click at the loc of card button "Close" showInfo "Edit Student Timetable",false wait 1 second set the cursor to hand autoMouse moveMouse,219,121 click at the loc of bg button id 4 wait 30 autoMouse menuMouse,3,19 -- Student (weekly) send "doMenu Student (weekly)" to background "CSL Scheduler" -- XCMD won't go past end of visible menu wait 30 autoMouse moveMouse,472,114 click at the loc of card button "Scroll" wait 1 second autoMouse moveMouse,183,83 click at the loc of card button id 3 showInfo "Student Timetable",true wait 1 second set the cursor to hand autoMouse moveMouse,18,40 click at the loc of card button "Close" showInfo "Reporting",false wait 1 second visual dissolve go to last card of this background wait 4 seconds visual dissolve go back wait 30 set the cursor to hand autoMouse moveMouse,476,83 send "mouseUp down" to bg button id 9 wait 30 send "mouseUp up" to bg button id 9 wait 30 send "doMenu Student" to background "CSL Scheduler" wait 3 seconds autoMouse moveMouse,29,37 click at the loc of card button "Close" showInfo "Conclusion",false wait 1 second set the cursor to hand autoMouse menuMouse,1,1 -- About if the result is "Item not found" then -- test for XCMD bug send "doMenu About" to background "CSL Scheduler" end if end rollingDemo on showInfo fieldName,cardPict lock screen set the cursor to none restoreMenuBar false grayPicture cardPict installMenuBar 1150,1151,1152,1153,1154,1155,1156,-200,-201,-202,-203 show card field fieldName unlock screen with dissolve put the secs into temp repeat until the mouseClick if (the secs - temp) > 30 then show card field "Continue" end repeat lock screen hide card field fieldName hide card field "Continue" pop card unlock screen with dissolve if the optionKey is down then exit to HyperCard end showInfo -- part contents for background part 5 ----- text ----- Scheduling -- part contents for background part 6 ----- text ----- The Mac School Scheduler - The Master Timetable Builder! The Scheduler will generate a Conflict Matrix and build a Master Timetable for you. The system will schedule a maximum of 4,000 students in up to 8 terms at a time into a maximum of 1,500 classes. The maximum number of periods in a day is 42, the maximum number of blocks in a cycle is 192 and the maximum number of days in the cycle is 14. The user can define for each course how many times per cycle it must be taught, which rooms it can be taught in and when it cannot be taught. Teacher room and course preferences can be set. All prerequisites and co-requisites are taken into account - historical information for each student is read to make sure each student has successfully met his/her requested course prerequisites. Student course requests (linked and global alternates can be assigned) can be either manually entered, optically scanned or imported via an ASCII file. The multi-user system now allows for editing of multiple students’ course requests and timetables. Each counselor can edit student timetables for different students at the same time and the system will automatically update class rosters. Once the master timetable has been built, new students can be either manually or automatically scheduled according to their student course requests. Mac School Scheduler allows the user to save multiple scheduling runs, as well as create an alternate database to be used for scheduling for the following year without harming the existing schedule. Reporting options are comprehensive and include the following reports: • conflict matrix • wait lists • class rosters • performance reports • student requests • student location • student timetables • teacher timetables • class timetables • room timetables • ethnic mix • and many more!